package com.zhou.combine.security.test.aop;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

/**
 * AopProxy
 *
 * @author zhouxianfeng
 * @date 2021-3-9
 */

@Component
@Aspect
public class AopProxy {

    private Logger logger= LoggerFactory.getLogger(AopProxy.class);

    @Before("execution(* com.zhou.combine.security.test.service.impl.*.test*(..))")
    public void test(){
        logger.info("测试before切面");
    }

}
